package com.company.project.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.company.project.entity.BaseEntity;


import java.io.Serializable;
import java.util.Date;

import lombok.Data;

/**
 * 
 *
 * @author wenbin
 * @email *****@mail.com
 * @date 2024-01-15 00:46:16
 */
@Data
@TableName("sys_redis")
public class SysRedisEntity extends BaseEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId("id")
	private Integer id;

	/**
	 * 
	 */
	@TableField("key")
	private String key;

	/**
	 * 
	 */
	@TableField("value")
	private String value;

	/**
	 * 
	 */
	@TableField("group")
	private String group;

	/**
	 * 
	 */
	@TableField("timeout")
	private Date timeout;

	/**
	 * 
	 */
	@TableField("addtime")
	private Date addtime;

	/**
	 * 部门
	 */
	@TableField("deptno_key")
	private String deptnoKey;

	/**
	 * 权限
	 */
	@TableField("permissions_key")
	private String permissionsKey;

	/**
	 * 用户id
	 */
	@TableField("userid_key")
	private String useridKey;

	/**
	 * 用户名称
	 */
	@TableField("username_key")
	private String usernameKey;

	/**
	 * 用户角色
	 */
	@TableField("roles_key")
	private String rolesKey;

	/**
	 * token
	 */
	@TableField("access_token")
	private String accessToken;


}
